Skip to main content

All Questions

18votes
4answers
2kviews

Staying OO and Testable while working with a database

What are some OOP strategies for working with a database but keeping things unit testable? Say I have a User class and my production environment works against MySQL. I see a couple possible approaches,...
user avatar

close